<?php

namespace App\Console\Commands;

use App\Logic\Gateio\GateIo;
use Illuminate\Console\Command;

class FileCoin extends Command
{
    /**
     * 命令行执行命令
     * @var string
     */
    protected $signature = 'file_coin';

    /**
     * 命令描述
     *
     * @var string
     */
    protected $description = 'get_file_coin_data';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        //这里编写需要执行的动作
        GateIo::index();
        GateIo::tickets();
        GateIo::marketList();

        echo 'success';
    }
}

